package com.share.finance.risk.rules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.common.common.Page;
import com.share.finance.risk.common.model.sys.RuleNode;
import com.share.finance.risk.common.model.sys.RuleRequest;
import com.share.finance.risk.rules.model.db.ExecuteResult;
import com.share.finance.risk.rules.model.vo.ExecuteResultPageReq;

public interface IExecuteResultService extends IService<ExecuteResult> {
    ExecuteResult queryLastDataByOrderIdAndProjectId(String orderId, Long projectId);

    Page<ExecuteResult> pageList(ExecuteResultPageReq req);

    int saveExecuteResult(RuleRequest req, ExecuteResult executeLog, RuleNode haltNode);
}
